package com.nanhai.buddhist.college.module.study.controller.admin.subjectconfig.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nanhai.buddhist.college.framework.excel.core.annotations.DictFormat;
import com.nanhai.buddhist.college.framework.excel.core.convert.DictConvert;


/**
 * 课程管理-配置 Excel VO
 *
 * @author xqenzo@163.com
 */
@Data
public class StudySubjectConfigExcelVO {

    @ExcelProperty("主键")
    private Long id;

    @ExcelProperty("课程类名称")
    private String name;

    @ExcelProperty("课程管理id")
    private String studySubjectId;

    @ExcelProperty("课程时长 单位分钟")
    private Integer subjectDuration;

    @ExcelProperty("教材集合 , 号分割")
    private String bookIds;

    @ExcelProperty(value = "课程类型 字典 	study_subject_config_type", converter = DictConvert.class)
    @DictFormat("study_subject_config_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer subjectType;

    @ExcelProperty(value = "状态： 0-正常 1-禁用", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("创建时间")
    private Date createTime;

}
